package business.datacenter.impl;

import business.datacenter.HZCreditCourtInfoService;
import datacenter.domain.HZCreditCourtInfo;
import datacenter.mapper.HZCreditCourtInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "creditCourtInfoService")
public class HZCreditCourtInfoServiceImpl implements HZCreditCourtInfoService {
    @Autowired
    HZCreditCourtInfoMapper hzCreditCourtInfoMapper;

    @Override
    public void saveHZCreditCourtInfo(List<HZCreditCourtInfo> entities) {
        for(HZCreditCourtInfo entity:entities) {
            hzCreditCourtInfoMapper.insertSelective(entity);
        }
    }
}
